#!/bin/bash




gnome-terminal --tab -e 'bash -c "source /opt/ros/humble/setup.bash;source ~/consensus/install/setup.bash;ros2 topic echo /drone1/setpoint_raw/local; exec bash"' \
--tab -e 'bash -c "source /opt/ros/humble/setup.bash;source ~/consensus/install/setup.bash;ros2 topic echo /drone2/setpoint_raw/local; exec bash"' \
--tab -e 'bash -c "source /opt/ros/humble/setup.bash;source ~/consensus/install/setup.bash;ros2 topic echo /drone3/setpoint_raw/local; exec bash"' \




# --tab -e 'bash -c "source /opt/ros/humble/setup.bash;source ~/Lslidar_ROS2_driver-M10P-N10P/install/setup.bash;ros2 launch lslidar_driver lslidar_launch.py; exec bash"' \
# --tab -e 'bash -c "source /opt/ros/humble/setup.bash;ros2 launch octomap_server octomap_mapping.launch.xml cloud_in:=/lslidar_point_cloud; exec bash"' \
# --tab -e 'bash -c "source /opt/ros/humble/setup.bash;ros2 run rviz2 rviz2 -d ~/consensus_apf/slam/Octomap.rviz; exec bash"' \
# --tab -e 'bash -c "source /opt/ros/humble/setup.bash;source ~/consensus_apf/install/setup.bash;ros2 run consensus_APF_py point_cloud_extractor ; exec bash"' \